package org.jeecg.modules.htxincailiao.shop.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.htxincailiao.address.domain.vo.HTAddressVO;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: ht_shop
 * @Author: jeecg-boot
 * @Date:   2023-03-14 14:40:21
 * @Version: V1.0
 */
@Data
@TableName("ht_shop")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ht_shop对象", description="ht_shop")
public class HTShop implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private java.lang.String id;
	/**店主ID*/
	@Excel(name = "店主ID", width = 15, dictTable = "ht_merchant", dicText = "enterprise_name", dicCode = "id")
	@Dict(dictTable = "ht_merchant", dicText = "enterprise_name", dicCode = "id")
    @ApiModelProperty(value = "店主ID")
    private java.lang.String sellerId;
	/**IM用户ID-关联客服*/
	@Excel(name = "IM用户ID-关联客服", width = 15, dictTable = "im_user", dicText = "nickname", dicCode = "id")
	@Dict(dictTable = "im_user", dicText = "nickname", dicCode = "id")
    @ApiModelProperty(value = "IM用户ID-关联客服")
    private java.lang.String imUserId;
	/**管理员ID*/
	@Excel(name = "管理员ID", width = 15, dictTable = "sys_user", dicText = "username", dicCode = "id")
	@Dict(dictTable = "sys_user", dicText = "username", dicCode = "id")
    @ApiModelProperty(value = "管理员ID")
    private java.lang.String sysUserId;
	/**店铺名称*/
	@Excel(name = "店铺名称", width = 15)
    @ApiModelProperty(value = "店铺名称")
    private java.lang.String name;
	/**店铺logo*/
	@Excel(name = "店铺logo", width = 15)
    @ApiModelProperty(value = "店铺logo")
    private java.lang.String logo;
	/**店铺信息*/
	@Excel(name = "店铺信息", width = 15)
    @ApiModelProperty(value = "店铺信息")
    private java.lang.String introduction;
	/**行业分类ID*/
	@Excel(name = "行业分类ID", width = 15)
    @ApiModelProperty(value = "行业分类ID")
    @Dict(dictTable = "ht_industry_category", dicCode = "id", dicText = "name")
    private java.lang.String industryCategoryId;
	/**店铺地址ID*/
	@Excel(name = "店铺地址ID", width = 15)
    @ApiModelProperty(value = "店铺地址ID")
    private java.lang.String shopAddressId;
	/**发货地址ID*/
	@Excel(name = "发货地址ID", width = 15)
    @ApiModelProperty(value = "发货地址ID")
    private java.lang.String sellerAddressId;
	/**店铺认证：0-未认证 1-认证中 2-已认证 3-已驳回*/
	@Excel(name = "店铺认证：0-未认证 1-认证中 2-已认证 3-已驳回", width = 15)
    @ApiModelProperty(value = "店铺认证：0-未认证 1-认证中 2-已认证 3-已驳回")
    private java.lang.Integer auditStatus;
	/**认证审批人*/
	@Excel(name = "认证审批人", width = 15)
    @ApiModelProperty(value = "认证审批人")
    private java.lang.String auditUsername;
	/**认证审批意见*/
	@Excel(name = "认证审批意见", width = 15)
    @ApiModelProperty(value = "认证审批意见")
    private java.lang.String auditComments;
	/**关键字*/
	@Excel(name = "关键字", width = 15)
    @ApiModelProperty(value = "关键字")
    private java.lang.String keywords;
	/**邮箱*/
	@Excel(name = "邮箱", width = 15)
    @ApiModelProperty(value = "邮箱")
    private String email;
	/**是否冻结（0-正常 1-冻结）*/
	@Excel(name = "是否冻结（0-正常 1-冻结）", width = 15)
    @ApiModelProperty(value = "是否冻结（0-正常 1-冻结）")
    @Dict(dicCode = "is_locked")
    private Integer isLocked;
	/**逻辑删除：1表示删除，0表示未删除。*/
	@Excel(name = "逻辑删除：1表示删除，0表示未删除。", width = 15)
    @ApiModelProperty(value = "逻辑删除：1表示删除，0表示未删除。")
    private java.lang.Integer isDeleted;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @TableField(exist = false)
    @ApiModelProperty(value = "行业分类")
    private String industryCategoryName;

    @TableField(exist = false)
    @ApiModelProperty(value = "地址")
    private HTAddressVO address;


    @TableField(exist = false)
    private Integer pageNo=1;

    @TableField(exist = false)
    private Integer pageSize=10;
}
